package org.lq.ht.view.Supplier;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JTextPane;
import javax.swing.JButton;

public class SupplierAdd extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					SupplierAdd frame = new SupplierAdd();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public SupplierAdd() {
		setTitle("供应商添加");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 371, 471);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("编号：");
		lblNewLabel.setBounds(58, 30, 58, 15);
		contentPane.add(lblNewLabel);
		
		textField = new JTextField();
		textField.setBounds(134, 27, 109, 21);
		contentPane.add(textField);
		textField.setColumns(10);
		
		JLabel lblNewLabel_1 = new JLabel("姓名：");
		lblNewLabel_1.setBounds(58, 65, 58, 15);
		contentPane.add(lblNewLabel_1);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(134, 62, 109, 21);
		contentPane.add(textField_1);
		
		JLabel lblNewLabel_2 = new JLabel("手机号：");
		lblNewLabel_2.setBounds(58, 105, 58, 15);
		contentPane.add(lblNewLabel_2);
		
		textField_2 = new JTextField();
		textField_2.setColumns(10);
		textField_2.setBounds(134, 102, 109, 21);
		contentPane.add(textField_2);
		
		JLabel lblNewLabel_3 = new JLabel("银行卡号：");
		lblNewLabel_3.setBounds(58, 147, 77, 15);
		contentPane.add(lblNewLabel_3);
		
		textField_3 = new JTextField();
		textField_3.setColumns(10);
		textField_3.setBounds(134, 144, 109, 21);
		contentPane.add(textField_3);
		
		JLabel lblNewLabel_4 = new JLabel("地址：");
		lblNewLabel_4.setBounds(58, 189, 58, 15);
		contentPane.add(lblNewLabel_4);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(134, 186, 109, 21);
		contentPane.add(textField_4);
		
		JLabel lblNewLabel_5 = new JLabel("公司名称：");
		lblNewLabel_5.setBounds(58, 233, 58, 15);
		contentPane.add(lblNewLabel_5);
		
		textField_5 = new JTextField();
		textField_5.setColumns(10);
		textField_5.setBounds(134, 230, 109, 21);
		contentPane.add(textField_5);
		
		JLabel lblNewLabel_6 = new JLabel("备注：");
		lblNewLabel_6.setBounds(58, 278, 58, 15);
		contentPane.add(lblNewLabel_6);
		
		JTextPane textPane = new JTextPane();
		textPane.setBounds(134, 278, 132, 79);
		contentPane.add(textPane);
		
		JButton btnNewButton = new JButton("保存");
		btnNewButton.setBounds(58, 401, 97, 23);
		contentPane.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("取消");
		btnNewButton_1.setBounds(190, 401, 97, 23);
		contentPane.add(btnNewButton_1);
	}
}
